package day13_Io.demo02_FileOutPutStream;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class Demo06copy {
    public static void main(String[] args) throws Exception {
        FileInputStream fis = new FileInputStream("E:\\csw\\Demo\\csw1\\csw1.txt");
        int i;
        while ((i=fis.read())!=-1){
            System.out.print((char) i);
        }
        fis.close();
    }
}
